{% if ('edit' in actions) and (not hide_edit) %}
    <a href="{{ "{{ path('"~ route_name_prefix ~"_edit', { 'id': entity.id }) }}" }}" class="button">Editar</a>
{% endif %}
{% if ('delete' in actions) and (not hide_delete) %}
    <form action="{{ "{{ path('"~ route_name_prefix ~"_delete', { 'id': entity.id }) }}" }}" method="post" style="display: inline-block;">
        {{ '{{ form_widget(delete_form) }}' }}
        <button type="submit" class="button black">Eliminar</button>
    </form>
{% endif %}
{% if (not hide_back) %}
    <a href="{{ "{{ path('"~ route_name_prefix ~"') }}" }}" class="button">Regresar a la Lista</a>
{% endif %}